package rouchuan.viewpagerlayoutmanager.rotate;

import com.zlzlib.liblayoutmanager.LayoutRotateManager;

import rouchuan.viewpagerlayoutmanager.BaseActivity;
import rouchuan.viewpagerlayoutmanager.Util;

/**
 * Created by Dajavu on 27/10/2017.
 */

public class RotateLayoutActivity extends BaseActivity<LayoutRotateManager, RotatePopUpWindow> {

    @Override
    protected LayoutRotateManager createLayoutManager() {
        return new LayoutRotateManager(this, Util.Dp2px(this, 10));
    }

    @Override
    protected RotatePopUpWindow createSettingPopUpWindow(boolean isAuto) {
        return new RotatePopUpWindow(this, getViewPagerLayoutManager(), getRecyclerView(),isAuto);
    }
}
